package com.ssish.saas.eccs.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EspTxtexpExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EspTxtexpExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPayorcdIsNull() {
            addCriterion("PAYORCD is null");
            return (Criteria) this;
        }

        public Criteria andPayorcdIsNotNull() {
            addCriterion("PAYORCD is not null");
            return (Criteria) this;
        }

        public Criteria andPayorcdEqualTo(String value) {
            addCriterion("PAYORCD =", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdNotEqualTo(String value) {
            addCriterion("PAYORCD <>", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdGreaterThan(String value) {
            addCriterion("PAYORCD >", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdGreaterThanOrEqualTo(String value) {
            addCriterion("PAYORCD >=", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdLessThan(String value) {
            addCriterion("PAYORCD <", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdLessThanOrEqualTo(String value) {
            addCriterion("PAYORCD <=", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdLike(String value) {
            addCriterion("PAYORCD like", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdNotLike(String value) {
            addCriterion("PAYORCD not like", value, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdIn(List<String> values) {
            addCriterion("PAYORCD in", values, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdNotIn(List<String> values) {
            addCriterion("PAYORCD not in", values, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdBetween(String value1, String value2) {
            addCriterion("PAYORCD between", value1, value2, "payorcd");
            return (Criteria) this;
        }

        public Criteria andPayorcdNotBetween(String value1, String value2) {
            addCriterion("PAYORCD not between", value1, value2, "payorcd");
            return (Criteria) this;
        }

        public Criteria andReftypIsNull() {
            addCriterion("REFTYP is null");
            return (Criteria) this;
        }

        public Criteria andReftypIsNotNull() {
            addCriterion("REFTYP is not null");
            return (Criteria) this;
        }

        public Criteria andReftypEqualTo(String value) {
            addCriterion("REFTYP =", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypNotEqualTo(String value) {
            addCriterion("REFTYP <>", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypGreaterThan(String value) {
            addCriterion("REFTYP >", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypGreaterThanOrEqualTo(String value) {
            addCriterion("REFTYP >=", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypLessThan(String value) {
            addCriterion("REFTYP <", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypLessThanOrEqualTo(String value) {
            addCriterion("REFTYP <=", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypLike(String value) {
            addCriterion("REFTYP like", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypNotLike(String value) {
            addCriterion("REFTYP not like", value, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypIn(List<String> values) {
            addCriterion("REFTYP in", values, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypNotIn(List<String> values) {
            addCriterion("REFTYP not in", values, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypBetween(String value1, String value2) {
            addCriterion("REFTYP between", value1, value2, "reftyp");
            return (Criteria) this;
        }

        public Criteria andReftypNotBetween(String value1, String value2) {
            addCriterion("REFTYP not between", value1, value2, "reftyp");
            return (Criteria) this;
        }

        public Criteria andRefnoIsNull() {
            addCriterion("REFNO is null");
            return (Criteria) this;
        }

        public Criteria andRefnoIsNotNull() {
            addCriterion("REFNO is not null");
            return (Criteria) this;
        }

        public Criteria andRefnoEqualTo(String value) {
            addCriterion("REFNO =", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoNotEqualTo(String value) {
            addCriterion("REFNO <>", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoGreaterThan(String value) {
            addCriterion("REFNO >", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoGreaterThanOrEqualTo(String value) {
            addCriterion("REFNO >=", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoLessThan(String value) {
            addCriterion("REFNO <", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoLessThanOrEqualTo(String value) {
            addCriterion("REFNO <=", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoLike(String value) {
            addCriterion("REFNO like", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoNotLike(String value) {
            addCriterion("REFNO not like", value, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoIn(List<String> values) {
            addCriterion("REFNO in", values, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoNotIn(List<String> values) {
            addCriterion("REFNO not in", values, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoBetween(String value1, String value2) {
            addCriterion("REFNO between", value1, value2, "refno");
            return (Criteria) this;
        }

        public Criteria andRefnoNotBetween(String value1, String value2) {
            addCriterion("REFNO not between", value1, value2, "refno");
            return (Criteria) this;
        }

        public Criteria andRecnoIsNull() {
            addCriterion("RECNO is null");
            return (Criteria) this;
        }

        public Criteria andRecnoIsNotNull() {
            addCriterion("RECNO is not null");
            return (Criteria) this;
        }

        public Criteria andRecnoEqualTo(Long value) {
            addCriterion("RECNO =", value, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoNotEqualTo(Long value) {
            addCriterion("RECNO <>", value, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoGreaterThan(Long value) {
            addCriterion("RECNO >", value, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoGreaterThanOrEqualTo(Long value) {
            addCriterion("RECNO >=", value, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoLessThan(Long value) {
            addCriterion("RECNO <", value, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoLessThanOrEqualTo(Long value) {
            addCriterion("RECNO <=", value, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoIn(List<Long> values) {
            addCriterion("RECNO in", values, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoNotIn(List<Long> values) {
            addCriterion("RECNO not in", values, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoBetween(Long value1, Long value2) {
            addCriterion("RECNO between", value1, value2, "recno");
            return (Criteria) this;
        }

        public Criteria andRecnoNotBetween(Long value1, Long value2) {
            addCriterion("RECNO not between", value1, value2, "recno");
            return (Criteria) this;
        }

        public Criteria andInsbyIsNull() {
            addCriterion("INSBY is null");
            return (Criteria) this;
        }

        public Criteria andInsbyIsNotNull() {
            addCriterion("INSBY is not null");
            return (Criteria) this;
        }

        public Criteria andInsbyEqualTo(String value) {
            addCriterion("INSBY =", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotEqualTo(String value) {
            addCriterion("INSBY <>", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyGreaterThan(String value) {
            addCriterion("INSBY >", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyGreaterThanOrEqualTo(String value) {
            addCriterion("INSBY >=", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyLessThan(String value) {
            addCriterion("INSBY <", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyLessThanOrEqualTo(String value) {
            addCriterion("INSBY <=", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyLike(String value) {
            addCriterion("INSBY like", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotLike(String value) {
            addCriterion("INSBY not like", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyIn(List<String> values) {
            addCriterion("INSBY in", values, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotIn(List<String> values) {
            addCriterion("INSBY not in", values, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyBetween(String value1, String value2) {
            addCriterion("INSBY between", value1, value2, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotBetween(String value1, String value2) {
            addCriterion("INSBY not between", value1, value2, "insby");
            return (Criteria) this;
        }

        public Criteria andInsdtIsNull() {
            addCriterion("INSDT is null");
            return (Criteria) this;
        }

        public Criteria andInsdtIsNotNull() {
            addCriterion("INSDT is not null");
            return (Criteria) this;
        }

        public Criteria andInsdtEqualTo(Date value) {
            addCriterion("INSDT =", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtNotEqualTo(Date value) {
            addCriterion("INSDT <>", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtGreaterThan(Date value) {
            addCriterion("INSDT >", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtGreaterThanOrEqualTo(Date value) {
            addCriterion("INSDT >=", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtLessThan(Date value) {
            addCriterion("INSDT <", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtLessThanOrEqualTo(Date value) {
            addCriterion("INSDT <=", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtIn(List<Date> values) {
            addCriterion("INSDT in", values, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtNotIn(List<Date> values) {
            addCriterion("INSDT not in", values, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtBetween(Date value1, Date value2) {
            addCriterion("INSDT between", value1, value2, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtNotBetween(Date value1, Date value2) {
            addCriterion("INSDT not between", value1, value2, "insdt");
            return (Criteria) this;
        }

        public Criteria andUpdbyIsNull() {
            addCriterion("UPDBY is null");
            return (Criteria) this;
        }

        public Criteria andUpdbyIsNotNull() {
            addCriterion("UPDBY is not null");
            return (Criteria) this;
        }

        public Criteria andUpdbyEqualTo(String value) {
            addCriterion("UPDBY =", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotEqualTo(String value) {
            addCriterion("UPDBY <>", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyGreaterThan(String value) {
            addCriterion("UPDBY >", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyGreaterThanOrEqualTo(String value) {
            addCriterion("UPDBY >=", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyLessThan(String value) {
            addCriterion("UPDBY <", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyLessThanOrEqualTo(String value) {
            addCriterion("UPDBY <=", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyLike(String value) {
            addCriterion("UPDBY like", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotLike(String value) {
            addCriterion("UPDBY not like", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyIn(List<String> values) {
            addCriterion("UPDBY in", values, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotIn(List<String> values) {
            addCriterion("UPDBY not in", values, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyBetween(String value1, String value2) {
            addCriterion("UPDBY between", value1, value2, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotBetween(String value1, String value2) {
            addCriterion("UPDBY not between", value1, value2, "updby");
            return (Criteria) this;
        }

        public Criteria andUpddtIsNull() {
            addCriterion("UPDDT is null");
            return (Criteria) this;
        }

        public Criteria andUpddtIsNotNull() {
            addCriterion("UPDDT is not null");
            return (Criteria) this;
        }

        public Criteria andUpddtEqualTo(Date value) {
            addCriterion("UPDDT =", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtNotEqualTo(Date value) {
            addCriterion("UPDDT <>", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtGreaterThan(Date value) {
            addCriterion("UPDDT >", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDDT >=", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtLessThan(Date value) {
            addCriterion("UPDDT <", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtLessThanOrEqualTo(Date value) {
            addCriterion("UPDDT <=", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtIn(List<Date> values) {
            addCriterion("UPDDT in", values, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtNotIn(List<Date> values) {
            addCriterion("UPDDT not in", values, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtBetween(Date value1, Date value2) {
            addCriterion("UPDDT between", value1, value2, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtNotBetween(Date value1, Date value2) {
            addCriterion("UPDDT not between", value1, value2, "upddt");
            return (Criteria) this;
        }

        public Criteria andPuidIsNull() {
            addCriterion("PUID is null");
            return (Criteria) this;
        }

        public Criteria andPuidIsNotNull() {
            addCriterion("PUID is not null");
            return (Criteria) this;
        }

        public Criteria andPuidEqualTo(String value) {
            addCriterion("PUID =", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidNotEqualTo(String value) {
            addCriterion("PUID <>", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidGreaterThan(String value) {
            addCriterion("PUID >", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidGreaterThanOrEqualTo(String value) {
            addCriterion("PUID >=", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidLessThan(String value) {
            addCriterion("PUID <", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidLessThanOrEqualTo(String value) {
            addCriterion("PUID <=", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidLike(String value) {
            addCriterion("PUID like", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidNotLike(String value) {
            addCriterion("PUID not like", value, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidIn(List<String> values) {
            addCriterion("PUID in", values, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidNotIn(List<String> values) {
            addCriterion("PUID not in", values, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidBetween(String value1, String value2) {
            addCriterion("PUID between", value1, value2, "puid");
            return (Criteria) this;
        }

        public Criteria andPuidNotBetween(String value1, String value2) {
            addCriterion("PUID not between", value1, value2, "puid");
            return (Criteria) this;
        }

        public Criteria andDocurlIsNull() {
            addCriterion("DOCURL is null");
            return (Criteria) this;
        }

        public Criteria andDocurlIsNotNull() {
            addCriterion("DOCURL is not null");
            return (Criteria) this;
        }

        public Criteria andDocurlEqualTo(String value) {
            addCriterion("DOCURL =", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlNotEqualTo(String value) {
            addCriterion("DOCURL <>", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlGreaterThan(String value) {
            addCriterion("DOCURL >", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlGreaterThanOrEqualTo(String value) {
            addCriterion("DOCURL >=", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlLessThan(String value) {
            addCriterion("DOCURL <", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlLessThanOrEqualTo(String value) {
            addCriterion("DOCURL <=", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlLike(String value) {
            addCriterion("DOCURL like", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlNotLike(String value) {
            addCriterion("DOCURL not like", value, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlIn(List<String> values) {
            addCriterion("DOCURL in", values, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlNotIn(List<String> values) {
            addCriterion("DOCURL not in", values, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlBetween(String value1, String value2) {
            addCriterion("DOCURL between", value1, value2, "docurl");
            return (Criteria) this;
        }

        public Criteria andDocurlNotBetween(String value1, String value2) {
            addCriterion("DOCURL not between", value1, value2, "docurl");
            return (Criteria) this;
        }

        public Criteria andErrmsgIsNull() {
            addCriterion("ERRMSG is null");
            return (Criteria) this;
        }

        public Criteria andErrmsgIsNotNull() {
            addCriterion("ERRMSG is not null");
            return (Criteria) this;
        }

        public Criteria andErrmsgEqualTo(String value) {
            addCriterion("ERRMSG =", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgNotEqualTo(String value) {
            addCriterion("ERRMSG <>", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgGreaterThan(String value) {
            addCriterion("ERRMSG >", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgGreaterThanOrEqualTo(String value) {
            addCriterion("ERRMSG >=", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgLessThan(String value) {
            addCriterion("ERRMSG <", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgLessThanOrEqualTo(String value) {
            addCriterion("ERRMSG <=", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgLike(String value) {
            addCriterion("ERRMSG like", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgNotLike(String value) {
            addCriterion("ERRMSG not like", value, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgIn(List<String> values) {
            addCriterion("ERRMSG in", values, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgNotIn(List<String> values) {
            addCriterion("ERRMSG not in", values, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgBetween(String value1, String value2) {
            addCriterion("ERRMSG between", value1, value2, "errmsg");
            return (Criteria) this;
        }

        public Criteria andErrmsgNotBetween(String value1, String value2) {
            addCriterion("ERRMSG not between", value1, value2, "errmsg");
            return (Criteria) this;
        }

        public Criteria andPayorreturnIsNull() {
            addCriterion("PAYORRETURN is null");
            return (Criteria) this;
        }

        public Criteria andPayorreturnIsNotNull() {
            addCriterion("PAYORRETURN is not null");
            return (Criteria) this;
        }

        public Criteria andPayorreturnEqualTo(String value) {
            addCriterion("PAYORRETURN =", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnNotEqualTo(String value) {
            addCriterion("PAYORRETURN <>", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnGreaterThan(String value) {
            addCriterion("PAYORRETURN >", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnGreaterThanOrEqualTo(String value) {
            addCriterion("PAYORRETURN >=", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnLessThan(String value) {
            addCriterion("PAYORRETURN <", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnLessThanOrEqualTo(String value) {
            addCriterion("PAYORRETURN <=", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnLike(String value) {
            addCriterion("PAYORRETURN like", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnNotLike(String value) {
            addCriterion("PAYORRETURN not like", value, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnIn(List<String> values) {
            addCriterion("PAYORRETURN in", values, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnNotIn(List<String> values) {
            addCriterion("PAYORRETURN not in", values, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnBetween(String value1, String value2) {
            addCriterion("PAYORRETURN between", value1, value2, "payorreturn");
            return (Criteria) this;
        }

        public Criteria andPayorreturnNotBetween(String value1, String value2) {
            addCriterion("PAYORRETURN not between", value1, value2, "payorreturn");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}